package com.husd.dubbo.provider;

import com.husd.dubbo.api.IHelloService;
import org.apache.dubbo.config.annotation.DubboService;
import org.apache.dubbo.config.annotation.Service;
import org.springframework.stereotype.Component;

/**
 * 这里是这个类的功能描述
 *
 * @author hushengdong
 * @date 2021/5/14
 */
@DubboService
@Component
public class HelloServiceImpl implements IHelloService {

    @Override
    public String hello(String name) {

        return "hello : " + name;
    }
}
